package com.hx.vending.dao;

import com.hx.vending.bean.DataAudit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2019/2/2.
 */
@Repository
public interface DataAuditMapper {

    List<DataAudit> selectByExample(DataAudit dataAudit);

    int insertSelective(DataAudit dataAudit);

    int updateAuditStateByUserId(DataAudit dataAudit);

    Integer selectCount(@Param("userName") String userName,@Param("state") String state,
                        @Param("startTime") String startTime,@Param("endTime") String endTime);
}
